package com.koudai.finance.service;

import com.koudai.finance.entity.User;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface LoginService {

    void getVerifyCode(String phone, HttpServletRequest request);

    String getWxAuthUrl(String redirectUrl, String type) throws IOException;

    String authWxCallBack(String code, HttpServletResponse response);

    User register(String phone, String smsCode, String openId, HttpServletResponse response);

}
